package com.nf.health.app.models;

public class 	DeviceData {
	public DeviceData(){
	}
	/**
	 * 设备类型
	 * @author jiax
	 *
	 */
	public class Type{
		public static final String BLOOD_SUGAR = "bloodsugar";
		public static final String BLOOD_PRESSURE = "blood";
		public static final String BRACELET = "bracelet";
		public static final String URINE = "urine";
		public static final String BALANCE = "balance";
		public static final String TEMPERATURE = "temperature";
		public static final String SWEAT = "sweat";
		public static final String OXYGEN = "oxygen";
		public static final String ECG = "ecg";
		public static final String HEART_RATE = "heartrate";
	}
	private DeviceDesc deviceData;
	private String deviceDataDesc;
	private String deviceImage;
	private String deviceName;
	private String deviceTime;
	private String deviceType;
	private String webViewUrl;

	public String getWebViewUrl() {
		return webViewUrl;
	}

	public void setWebViewUrl(String webViewUrl) {
		this.webViewUrl = webViewUrl;
	}

	public DeviceDesc getDeviceData() {
		return deviceData;
	}

	public void setDeviceData(DeviceDesc deviceData) {
		this.deviceData = deviceData;
	}

	public String getDeviceDataDesc() {
		return deviceDataDesc;
	}

	public void setDeviceDataDesc(String deviceDataDesc) {
		this.deviceDataDesc = deviceDataDesc;
	}

	public String getDeviceImage() {
		return deviceImage;
	}

	public void setDeviceImage(String deviceImg) {
		this.deviceImage = deviceImg;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getDeviceTime() {
		return deviceTime;
	}

	public void setDeviceTime(String deviceTime) {
		this.deviceTime = deviceTime;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	@Override
	public String toString() {
		return "NewDeviceDataList [deviceData=" + deviceData
				+ ", deviceDataDesc=" + deviceDataDesc + ", deviceImg="
				+ deviceImage + ", deviceName=" + deviceName + ", deviceTime="
				+ deviceTime + ", deviceType=" + deviceType + "]";
	}

	public DeviceData(DeviceDesc deviceData, String deviceDataDesc,
			String deviceImg, String deviceName, String deviceTime,
			String deviceType) {
		super();
		this.deviceData = deviceData;
		this.deviceDataDesc = deviceDataDesc;
		this.deviceImage = deviceImg;
		this.deviceName = deviceName;
		this.deviceTime = deviceTime;
		this.deviceType = deviceType;
	}
	
	/**
	 {
		"deviceData": {
			"dataItem": "饭前血糖:15.6mmol/L",
			"result": "健康提示：良好"
		},
		"deviceDataDesc": "近期的血糖数据数据",
		"deviceImg": "http://hbank.nf1000.com/simg/373de38c95a1b4a737aea6684dc4e957",
		"deviceName": "血糖数据",
		"deviceTime": "2015-11-02 12:05:25",
		"deviceType": "bloodsugar"
	},
	{
		"deviceData": {
			"dataItem": "低压:30mmHg,高压:30mmHg",
			"result": "健康预警：低血压。"
		},
		"deviceDataDesc": "近期的血压数据数据",
		"deviceImg": "http://hbank.nf1000.com/simg/3190d19c7bc08326fc319fd8df3c2d1e",
		"deviceName": "血压数据",
		"deviceTime": "2015-09-29 17:56:29",
		"deviceType": "blood"
	},
	{
		"deviceData": {
			"dataItem": "",
			"result": ""
		},
		"deviceDataDesc": "近期的手环数据数据",
		"deviceImg": "http://hbank.nf1000.com/simg/f6f9630fbcab37b04a67a26c5ae888e4",
		"deviceName": "手环数据",
		"deviceTime": "2015-10-13 14:20:24",
		"deviceType": "bracelet"
	},
	{
		"deviceData": {
			"dataItem": "葡萄糖值:--,胆红素值:--,酮体:--,红细胞:--,尿蛋白:--,尿胆原:--,亚硝酸盐:--,白细胞:--",
			"result": "健康提示：良好"
		},
		"deviceDataDesc": "近期的尿检数据数据",
		"deviceImg": "http://hbank.nf1000.com/simg/4adab9d0dc584a921fe9b33a68fa8480",
		"deviceName": "尿检数据",
		"deviceTime": "2015-09-29 17:54:01",
		"deviceType": "urine"
	},
	{
		"deviceData": {
			"dataItem": "身高:168.0cm,体重:67.4kg",
			"result": "健康提示：良好"
		},
		"deviceDataDesc": "近期的体质数据数据",
		"deviceImg": "http://hbank.nf1000.com/simg/f77fc7a08072ee5e0195967ae13573af",
		"deviceName": "体质数据",
		"deviceTime": "2015-09-30 14:48:23",
		"deviceType": "balance"
	}
	 */

}
